package com.lance.shiro.service;

import com.lance.shiro.entity.ISalesNotification;

import java.util.ArrayList;
import java.util.Map;

public interface SalesNotificationService {


    ArrayList<Map> findAll();

    Map get(int id);

    Map saveAdd(ISalesNotification entity) throws Exception;

    Map saveUpdate(ISalesNotification entity) throws Exception;

    Map reject(int id, Map<String, String> reqMap);

    Map accept(int id, Map<String, String> reqMap);

    ArrayList<Map> findAllByPropertyId(int propertyId);

    void deleteAllByIds(ArrayList<Integer> id);
}
